from django import forms 
from books.models import *

class BookForm(forms.ModelForm):
    class Meta:
        model = Book
        fields = ('title','author','publisher','publication_date',)

class BookNoteForm(forms.ModelForm):
    class Meta:
        model = BookNote
        exclude = ('book',)
